package com.carb.dto;

import com.carb.enums.BusinessPayMethod;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "新增业务传递的数据模型")
public class BusinessAddDTO implements Serializable {

    @Schema(description = "服务项目id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long projectId;

    @Schema(description = "会员id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long memberId;

    @Schema(description = "车辆id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long carId;

    @Schema(description = "付款方式",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private BusinessPayMethod payMethod;

}
